from django.conf.urls import url,include
from rest_framework.routers import DefaultRouter
from .views import AreaViewSet

urlpatterns=[
    # url(r'^',include(router.urls))
]


#添加省市区信息查询路由
router=DefaultRouter()
router.register(r'infos',AreaViewSet,base_name='area')

urlpatterns += router.urls